<template>
  <div class="store-page">
    <headBar  isBack="show">
      <div slot="xm-header-center">
        <div class="xm-header-title" >我的老板</div>
      </div>
      <div slot="xm-header-right"></div>
    </headBar>
    <div class="head">
      <h2>{{leaderList.name}}</h2>
      <div class="group flex flex-pack-justify boss-head">
        <span class="name">{{leaderList.contacts}}</span>
        <span class="phone">{{leaderList.phone}}</span>
      </div>
    </div>
  </div>
</template>
<script>
  export default {
    props: {},
    data() {
      return {
        leaderList: ''
      };
    },
    methods: {
      getLeader(){
        leader().then(data=>{
          if(data.returnCode == '000000'){
            this.leaderList = data.result;
          }
        })
      }
    },
    filters: {},
    created() {
      this.getLeader();
    },
    mounted(){

    },
    components: {
    }
  };
</script>
<style lang="less">
  @import "./store.less";
</style>
